From e4e75a94f5c0b6b9945c5b83107920d54087b6aa Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Thu, 17 Apr 2014 13:14:44 -0400 Subject: [PATCH] wayland: The xdg_surface.delete event was renamed to close --- gdk/wayland/gdkwindow-wayland.c | 6 +++--- gdk/wayland/protocol/xdg-shell.xml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c index 0f7e9e1af0..6314b450ad 100644 --- a/gdk/wayland/gdkwindow-wayland.c +++ b/gdk/wayland/gdkwindow-wayland.c @@ -860,8 +860,8 @@ xdg_surface_deactivated (void *data, } static void -xdg_surface_delete (void *data, - struct xdg_surface *xdg_surface) +xdg_surface_close (void *data, + struct xdg_surface *xdg_surface) { GdkWindow *window = GDK_WINDOW (data); GdkDisplay *display; @@ -882,7 +882,7 @@ static const struct xdg_surface_listener xdg_surface_listener = { xdg_surface_change_state, xdg_surface_activated, xdg_surface_deactivated, - xdg_surface_delete, + xdg_surface_close, }; static void diff --git a/gdk/wayland/protocol/xdg-shell.xml b/gdk/wayland/protocol/xdg-shell.xml index bc979b3302..7882693475 100644 --- a/gdk/wayland/protocol/xdg-shell.xml +++ b/gdk/wayland/protocol/xdg-shell.xml @@ -381,9 +381,9 @@ - + - The delete event is sent by the compositor when the user + The close event is sent by the compositor when the user wants the surface to be closed. This should be equivalent to the user clicking the close button in client-side decorations, if your application has any... -- 2.30.2